<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="../css/leave.css"/>
		<meta name="format-detection" content="telephone=no, email=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no">
	</head>
	<body>
		<div class="leave">
			<div class="leave_bg">
				<img src="../img/end/blue_bg.png"/>
			</div>
			<div class="leave_bu">
				<img src="../img/end/message.png"/>
			</div>
			<div class="leave_tu">
				<img src="../img/end/bg.png"/>
			</div>
			<div class="leave_zi">
				<h2>你的都是</h2>
				<p>活力值为<b>190</b></p>
			</div>
			<div class="leave_input">
				<textarea placeholder="说出心中的秘密"></textarea>
			</div>
			<div class="leave_bottom">
				<a href="share.html"><img src="../img/end/submit.png"/></a>
			</div>
			
		</div>
	</body>
	<script src="../js/jquery-2.1.0.js" type="text/javascript" charset="utf-8"></script>
	<script src="../js/rem.js" type="text/javascript" charset="utf-8"></script>
	<script type="text/javascript">
		var oHeight = $(document).height(); //浏览器当前的高度
   
   $(window).resize(function(){
 
        if($(document).height() < oHeight){
         
        $(".leave_input").css("position","static");
    }else{
         
        $(".leave_input").css("position","absolute");
    }
        
   });
	</script>
</html>
